<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../../css/reset.css">
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/style.css">
    <style>
        .item {
            line-height: 40px;
        }

        .item img {
            width: 28px;
            height: 28px;
            float: left;
            margin-right: 10px;
            vertical-align: center;
            margin-top: 6px;
        }

        .item .right_info {
            width: auto;
            float: left;
        }

        .item .right_info p {
            color: #fff;
            font-weight: 700;
            font-size: 24px;
            float: left;
        }

        .item .right_info .num_box {
            width: auto;
            height: 40px;
        }

        .item .right_info .num_item {
            width: 36px;
            height: 40px;
            background: url("num_bg.png");
            background-size: 100%;
            line-height: 40px;
            text-align: center;
            color: #ffffff;
            font-size: 40px;
            font-weight: 700;
            float: left;
            margin: 0 4px;
        }
    </style>
</head>
<body class="">
<div class="item">
    <img src="human_icon.png" alt="">
    <div class="right_info fix">
        <p>在岗：</p>
        <div class="num_item">1</div>
        <div class="num_item">1</div>
        <div class="num_item">1</div>
        <p>人</p>
    </div>
</div>

</body>
<script type="text/javascript" charset="utf-8" src="../../js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../../js/common.js"></script>
<script>
	$(function () {

		// getJson('api/WEB-SQL/websql/openInterface/hxp_xl_user_count', {}, function (res) {
		// 	if (res.code == 200) {
		// 		// console.log(res)
		// 		if (res.data.length) {
					let str = `<p>在岗：</p>`;
					let num = String(43763);
					let arr = num.split('');
					for (let i = 0; i < arr.length; i++) {
						str += `<div class="num_item">${arr[i]}</div>`;
					}
					str += `<p>人</p>`;
					$('.right_info').html(str)
				// }
			// }
		// })

	})
</script>
</html>
